package com.weixing.mall.provider.model.query;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.weixing.mall.provider.model.enums.AreaLevelEunm;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @ClassName CityAreaQuery
 * @Description TODO <br/>
 * @Author gjq
 * @Modified By:
 * @Date 2019/7/26
 * @Version 1.0
 **/
@Data
@ApiModel(description = "行政区划查询")
public class CityAreaQuery {
    @ApiModelProperty(value = "名称")
    private String areaName;
    @ApiModelProperty(value = "创建人")
    private Long createdBy;
    @ApiModelProperty(value = "级别 1省级；2市级；3县级；4乡镇街道")
    private AreaLevelEunm areaLevel;
    @ApiModelProperty(value = "父编码")
    private String parentCode;
    @ApiModelProperty(value = "开始时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date startTime;
    @ApiModelProperty(value = "结束时间")
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date endTime;
}
